#pragma once
#ifndef __Q__ENV__TABLE__ITEM__HH__
#define __Q__ENV__TABLE__ITEM__HH__

#include "QEnvPrereqs.h"
#include "QEnvPath.h"

class QEnvTableItem : public QTableWidgetItem
{
protected:
	friend class QEnvTable;

	QHBoxLayout *	mLay;
	QPushButton *	mBtn;
	QEnvTable	*	mParent;
	QEnvPath		mPath;

	void change();

public:
	QEnvTableItem( const QEnvPath &path, QEnvTable * parent = NULL );
	~QEnvTableItem();

	void setPath( const QEnvPath &p );
	const QEnvPath& getPath() const;
};

#endif